package com.mask.im.business.controller;
import com.mask.im.business.model.dto.UserLabelDTO;
import com.mask.im.business.common.model.RestResponse;
import com.mask.im.business.service.UserLabelService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;

/**
 * @author jian
 */
@Api(tags = "用户标签模块")
@RestController
public class UserLabelController {

	@Resource
	private UserLabelService userLabelService;

	@ApiOperation("获取标签模块")
	@GetMapping("/users/getUserLabelList")
	public RestResponse<List<UserLabelDTO>> getUserLabel(){
		return userLabelService.getUserLabel();
	}
}

